export const delay = (duration = 1000) => {
  return new Promise((resovle) => {
    setTimeout(() => {
      resovle('ok');
    }, duration);
  });
};
